package de.iritgo.skillfull.component;

/**
 * The motion components manipulate the x,y cords. 
 * 
 * @author held
 *
 */
public interface MotionComponent extends Component
{
	/**
	 * Is that a relative position component or a absolute posiotn component
	 * 
	 * @return The relative flag
	 */
	public boolean isRelative ();
	
	/**
	 * Get the x pos from the component
	 * 
	 * @return The x pos
	 */
	public float getX ();
	 
	/**
	 * Set the x pos
	 * 
	 * @param x The s pos
	 */
	public void setX (float x);

	/**
	 * Get the y pos
	 * 
	 * @return The y pos
	 */
	public float getY (); 
	 
	/**
	 * Set the y pos
	 * 
	 * @param y The y pos
	 */
	public void setY (float y); 

}
